#获取数据库端口和地址

# class DataProcess:
#     def __init__(self, db_addr, db_port,db_name):
#         self.db_addr = db_addr
#         self.db_port = db_port
#         self.db_name = db_name
class BusinessErrorCode:
    '''业务异常码  
       HANDLE_EXIST     标识已存在
       UNUSUAL      服务器异常
       LOGIN_FAIL   信通院登录失败
    '''
    HANDLE_EXIST = -35001
    UNUSUAL = -35002
    LOGIN_FAIL = -35003
class BusinessErrorMes:
    HANDLE_EXIST = '标识已存在'
    UNUSUAL = '服务器异常'
    LOGIN_FAIL = '信通院登录失败'